package com.dao;

import com.bean.Tag;
import com.service.core.BaseMapper;

import java.util.HashMap;
import java.util.List;

public interface TagMapper  extends BaseMapper<Tag,Integer> {
    int deleteByPrimaryKey(Integer id);

    int insert(Tag record);

    int insertSelective(Tag record);

    Tag selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Tag record);

    int updateByPrimaryKey(Tag record);

    List<Tag> findAll(HashMap<String,Object> paraMap);

    List<Tag> findByParentId(Integer pid);
}